Part Number Hot Search : 
0MXXX 24AA0 IRF82 MAX170 GSBAT54S MA3D653 N6099 M5218L
Product Description
Full Text Search
 

To Download AN265 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. 0.2 5/07 copyright ? 2007 by silicon laboratories AN265 AN265 2 nd -g eneration p ro slic ? gui u ser ? s g uide 1. introduction the 2nd-generation proslic ? graphical user interface (gui) software us es the usb port or the parallel port of a pc to communicate with the proslic. either the usb-ca pable voice motherboard (vmb) or an older parallel port proslic motherboard may be used with the software. the voice motherboard accesses the proslic's spi and pcm ports, while the proslic motherboard only accesses th e spi port. this document applies to rev 0.98 of the software. the program runs on windows 98/nt/2000/xp. invoking the 2nd-generatio n proslic gui causes the voice motherboard to be initialized (if it is conne cted) and the proslic to be taken out of reset. 2. installation to install the 2nd-generation proslic gui, run setup.exe. if a previous installation of the software is detected, running setup.exe uninstalls the old version, and it is necessary to run setup.exe again. when setup installation is complete, installation inst ructions for the usb driver for the voice mother board are displayed. at this point, connect the usb cable from the pc to the voice motherboard. if prompted to install a driver, direct windows to use the directory specified in the instructions disp layed at the end of the installation in: c:\program files\silicon laboratories\vmb driver\ if you are not prompted to install the usb driver, it is recommended that you uninstall the old driver and install the driver provided with the software. 2.1. reinstall usb driver to uninstall the usb driver, go to start->control panel, and double-click on ?system?. go to the ?hardware? tab as shown in figure 1. figure 1. system properties screen
AN265 2 rev. 0.2 then, click on ?device man ager?. expand usb controllers , and you should see ?usbxpress device? as shown in figure 2. figure 2. device manager screen
AN265 rev. 0.2 3 right-click on this device, a nd choose "update driver?". decline connecti ng to windows update by choosing "no, not this time" when prompted as shown in figure 3. figure 3. hardware update wizard click ?next?. then, choose "install from a list or specific location (advanced)" as shown figure 4. figure 4. installing software for usbxpress device
AN265 4 rev. 0.2 click ?next?. now, choose ?search for the best driver in these locations?, and use the ?browse? button to specify c:\program files\silicon laboratories\vmb driver s as shown in figure 5. figure 5. search and installation options click ?next?, and the drivers will be updated as needed.
AN265 rev. 0.2 5 3. launching the software the 2nd-generation proslic gui may be used with eith er the older proslic motherboard or the voice motherboard; however, by default, the usb inte rface for the voice motherboard is selected. 3.1. voice motherboard (usb) first, make sure that the usb cable is connected and that power is applied to the voice mother board. click on the shortcut in the start menu at program files silicon laboratories 2nd generation proslic gui. select si324x or si3226 and click ?ok?. if you receive a message like the one in figure 6, make sure that the voice motherboard driver is installed, the usb cable is connected, and that no other running software is accessing the voice motherboard. figure 6. usb error sometimes, it may be necessary to unplug the usb cable and reconnect it to the voice motherboard to reset the usb device. the voice motherboard defaults to spi/pcm communication; however, gci communication can also be used. to use gci, first connect sdithru on the proslic to ground, and then select ?connect motherboard? and ?connect usb (gci)?. 3.2. proslic motherboard (parallel port) click on the shortcut in the start menu at program files silicon laboratories 2nd generation proslic gui. ignore any error message pertaining to the usb interface. to enable the parallel port interface, go to the menu bar at the top, and select ?connect motherboard?; then, select ?connect lpt?. make certain that power is applied to the board. if the parallel port address differs from the defaul t (0x378), select the ?opti ons? menu item; then, select ?parallel port config? to change the port address being used.
AN265 6 rev. 0.2 4. proslic communication on the top left of the screen, there are several important controls, shown in figure 7. the ?channel? control selects the channel with which the software is currently communica ting. the value can range from 0 to 31 for a total of 32 channels. the ?broadcast? control enables the broadcast bit in the spi control byte during register writes, allowing the user to write to all channels simultaneously. t he ?reset? button pulls the prosli c's reset pin low when it is pressed. this button may also be activated using the escape key. figure 7. screen top left the ?initialize? button determines how many channels ar e present, reads the device id of the current channel, reads the detected pclk rate, and displays this informati on on the top right of the screen. pushing this button also loads the contents of the initialization file to the proslic. the file is located in the installation directory and contains the recommended initialization sequence. th is file may be edited to change the behavior of the ?initialize? button. the format of this file and other file s used by the software are described later in this document. if the ?all channels? control is checked, all channels are initialized according to the contents of the init ialization file; otherwise, only the channel currently selected is affected by the ?initialize? button. select the appropriate bom option using the ?linefeed? selector before pressing ?initialize?. on the bottom left of the screen, there are controls to read and write single registers or ram locations (see figure 8). select whether you would like to access a regist er or a ram location and enter the address to access. if writing to the proslic, enter data to write in the box ne xt to the ?write? button, and then click either ?write? or ?read? to execute. data read back is displa yed in the box next to the ?read? button. figure 8. single reads/writes also shown in figure 8 is the user mode control, which is activated by clicki ng on the green area. if user mode is successfully entered by the proslic, the control turns bright green to confirm.
AN265 rev. 0.2 7 5. registers/ram when you launch the software, the ?registers/ram? tab, wh ich displays a table of all the registers in the proslic, appears on the right side of the screen (see figure 9). ho ld the mouse over the register locations to see the address of each register, or, alternatively, select ?dis play addresses? below the register table to change from displaying the register names to displaying the register add resses in the table. the ?read all? button executes a one-shot read of all the registers in the table, wher eas the ?continuous read? button causes the table to be continuously updated until continuous read is turned off. typing a new value in one of the boxes in the register table causes a register write to take place. figure 9. registers/ram the ram table on the right side of figure 9 behaves si milarly with its own ?read all? and ?continuous read? buttons; however, in this case, only the visible valu es in the ram table are updated when continuous read is turned on. the address and name of each ram location are always displayed. the ram locations may be sorted numerically or sorted by function. w hen the ram values are sorted by function, the ?go to? control helps navigate to ram locations relating to a particul ar function without scro lling through the table. ce rtain ram locations can be converted to their decimal equivalent by first clicking on the value and then hovering the mouse over the ram table. typing a new value into the ?value? column of th e ram table causes a ram write to take place. use the ?search string? box to search for a ram location, an d navigate through the matches using the ?next? button. while continuous read is active on the register table, th e interrupts accumulator is updated. the values read from the irq registers are ored together until the ? clear? button, shown in figure 10, is pressed. figure 10. interrupts accumulator
AN265 8 rev. 0.2 6. gauges the gauges tab is shown in figure 11. these controls are used to view the monitor adc (madc) value in decimal units. to activate the gauges, turn on the ?continuous update? control and select whether you want to scale the power to full scale or to the value of the power threshold registers using the ?power scaling? control. figure 11. gauges
AN265 rev. 0.2 9 7. graph the graph tab is shown in figure 12. these controls can be used to plot the value of registers or ram locations over time. the y axis is a linear decimal scale, and auto scaling can be turned on or off by right-clicking on the y axis. the x axis can be adjusted by entering different val ues in the ?# samples shown? field. this alters the number of samples displayed on the plot. enter the locations you wi sh to read in the ?graph read info? box at the top left. ram locations can be multiplied by a scalin g factor before they are plotted by entering a value other than 1 in the lsb field. the graph plots data as l ong as the ?continuous update? button is active; however, the ?triggered stop? controls can be used to stop the data acquisition when a specified rising or falling edge occurs. choose which edge to trigger on using the ?trigger? control and specify the th reshold using the ?trigger value? box. the ?hold samples? box specifies how many samples befor e the event are saved. click ?enable? to enable the trig ger, and turn on ?continuous update?, if it is not already active. to aid in the detailed examination of plots, two cursors are available. the cursor controls are on the top left of the graph. the mean, standard deviation, variance, or rms value can be calculated for the first addr ess to be read. select the calculation to perform using the "paramet er to calculate:" selector; the result is displayed beneath the selector. the units displayed on the y axis can be adjusted using the ?y scale format? and ?y scal e precision? controls. the time between samples on the graph can also be manipulated using the ?time between samples? control. the maximum sample rate po ssible is achieved using a zero millisecond time between samples a nd is limited by the number of devices on the usb bus and the cpu load of the pc running the software. figure 12. graph
AN265 10 rev. 0.2 8. audio (voice motherboard only) the audio tab is shown in figure 13. the functionality of this tab is only valid with the voice motherboard (usb interface). the voice motherboard is capable of trans mitting and collecting pcm samples. before any audio transfers are attempted, the pcm clocks and format must be set up. in gci mode, this panel shows the status of the c/i bits a nd allows the user to change the downstream c/i bits. the c/i bit indicator updates when the ?run acquisition? cont rol is turned on. figure 13. audio
AN265 rev. 0.2 11 9. pcm configuration (voice motherboard) unlike previous proslic motherboar ds, the configuration of the pcm bus for the voice motherboard is accomplished via software. the proslic gui allows you to configure the pcm clock rate, pclk source, and fsync source. in addition, the dsp on the voice mother board allows pcm data to be passed between the pc and the proslic. the pcm timeslots used by the dsp are also configurable. while the proslic's pcm timeslots can be configured to use any bit count for pcm transfers, the voice motherboard's dsp can only be configured on 8- or 16-bit boundaries. for example, if you select a txslot of 1 in 8-bit mode, you would need to set the proslic pcmrx regi sters to 8 (1x8bits) to receive the data. almost all features relating to the pcm capability of the voice motherboard are located on the audio tab. table 1 shows the main configuration parameters for the voice motherboard pcm. select the pcm format in the ?dsp pcm? control on the audio tab and press ?update dsp? to configure the voice motherboard's dsp to receive samples of this type. pr essing ?update slic? updates the current proslic channel with the same pcm settings except that the proslic transmit timeslot is equal to the voice motherboard's receive timeslot and vice versa. the voice motherboard now sends/receives audio to/from the current channel. the dsp on the voice motherboard has a 1024 word buffer for sending pcm data to the proslic. this buffer loops continuously and can be loaded using the controls in th e ?tx? box on the audio tab. dc, square, sine, and ramp waveforms are available. press ?update? to load the buffer. the units for the amplitude are specified as either codes or volts in the ?graph controls? box below the audio plot. ?codes? refers to the raw values coming from the pcm, wh ich could be 8- or 16-bit, wh ile ?volts? displays a scaled value less than one. when the ?run ac quisition? button is active, data is pulled from a fi fo in the voice motherboard's dsp and plotted on the screen. data can be plotted in the time domain or the frequency domain, and the data buffer size for the gui can be adjusted wit h the ?buffer size? control. the ?measurement? control enables or disables the update of values calculated in the ?graph measurements? display. note: in gci mode, pclk and fsync are generated by the voice motherboard, and subframes 0 and 1 are used. the data displayed in the audio graph will come from whic hever channel is selected by the ?channel? control. 10. file input and output figure 14 shows the file input/output cont rols. the file format described here is the same as the format used for the initialization file loaded by the ?initialize? button. figure 14. file io first, select a file name by either entering it manually in to the ?file name? box or by clicking on the yellow folder button. to output the current register and ram contents of the current channel, click on the ?read? button so that it now says ?write? and then press ?ok?. if an existing file is chosen, a prompt asks if the program can overwrite the file. navigate to the file you selected in the first step; it will look similar to figure 15.
AN265 12 rev. 0.2 figure 15. example file when inputing a file, click on the ?write? button to change it back to ?read? and click ?ok?. to apply the file to all channels, the ?all chan? box should be checked. if ?all c han? is enabled, the file is read through once for each channel. do not enable broadcast when loading a file. a ll recently loaded files are selectable using the ?recent files? control. table 1. voice motherboard pcm main configuration parameters parameter options location pcm clock frequency all supported by proslic audio tab pclk freq external pclk/fsync enable/disable menu: options external pcm source external fsync enable/disable menu: options external fsync only dsp timeslots 8- or 16-bit boundaries audio tab dsp pcm txslot / rxslot
AN265 rev. 0.2 13 11. file format in the files used to input or output register and ram values, there are several things to remember. ? lines beginning with the # character are ignored. ? register/ram addresses are in decimal format while register/ram values are in hexadecimal format. for example: register 11 = 15 #will write register 11 to 0x15 ram 600 = 12345678 #will write ram 600 to 0x12345678 ? delays can be inserted with the wait command. for example: wait 100 #will wait 100 ms before proceeding ? the current channel can be changed using the channel command, but this command should not be used when the all chan box is checked since it causes the file to be loaded once for every channel and may lead to confusing results. channel 2 #switch to channel 2 ? the restore command can be used to go back to whatever channel was selected before any changes to the current channel were made by channel commands in the file. for example: restore #restore original channel number ? user mode can be enabled and disabled using the user and lockuser commands. for example: user #enable user mode lockuser #disable user mode ? the patch ram can be loaded using the patch command. for example: patch c:\patchfile.dsp_prom #load patch ? commands from another file can be executed by using the include command. for example: include c:\input2.txt ? calibration can be performed using th e cal command. this will cause the ca l bit to be set, and the software will not proceed until the cal bit clears (or the timeout period expires).
AN265 14 rev. 0.2 12. ram access type in the ?options? menu, there is an item called ?16 bit ra m accesses?. when this is enabled, the lower 13 bits of each 29-bit ram location are cleared, and ram acce sses are performed using the 16-bit spi accesses. this option is not valid for gci. 13. tools menu the tools menu contains many useful tools for calculat ing register and ram values. clicking on an item in this menu brings up a popup with the requested tool, which ca n subsequently be closed by pressing the escape key or pushing the ?close? button. 13.1. tone generator the tone generator tool is used to calculate coefficients for the tone generators inside the proslic. select the desired amplitude, frequency, and ca dence, and then press ?load values? to load the configuration into the proslic. the calculated register values are displayed. 13.2. pcm config the pcm config tool can be used to configure the pcm registers of many channels at once. press ?load? to update the proslic. 13.3. dc feed the dc feed tool is used to calculate the parameters for the proslic dc feed. it shows a plot of the expected dc feed curve. warnings appear if the values entered are unachievable; however, if desired, these warnings can be disabled by checking ?turn off out of range warnings?. to load the calculated outputs to the proslic, click ?load values?. 13.4. load patch ram the patch ram load tool can be used to download patch co de to the proslic. select a dsp_prom file by clicking on the yellow folder icon next to the ?p atch code file? box, and then press ?load patch? to load the patch ram. the entry points table should be filled in automatically when you select a valid patch code file. it is best to load a patch using an input file during initialization. 13.5. pulse metering (si324x) the pulse metering tool is used to program the pulse mete ring registers but also contains a timer for ramping up and down the pulse metering tone. configure the pulse metering parameters and then click ?load values? to program the proslic. to use the timer function, enter values for ?time on? and ?time off? and then enable the timer by turning on the ?run metering? button. the ramp bit is toggled automatically at the programmed rate. 13.6. toggle register state the toggle register state tool behaves similarly to the pu lse metering timer function but is more flexible. select which address to toggle and enter values for the on state and off state. finally, enter the values for ?time on? and ?time off? so that the chosen address toggles between the two values when the ?run? button is turned on. 13.7. battery switching (si324x) the battery switching tool aids in programming the registers related to battery switching. configure the battery voltage and gpio setup, and then click the ?load? button to configure the proslic. 13.8. ringing the ringing tool calculates ringing register values as well as ring trip parameters. enter the ringing cadence, frequency, amplitude, and offset. then, enter the ring trip parameters, and click ?load? to write these values to the proslic.
AN265 rev. 0.2 15 13.9. fsk the fsk tool calculates the fsk generation coefficients for caller id. enter the frequencies for mark and space as well as the amplitude and baud rate . clicking ?load? will cause the settin gs to be written to the proslic. 13.10. madc the madc tool displays the monitor adc values in hexa decimal as well as decimal si milar to the ?gauges? tab. the advantage of the madc tool is that more of the ma dc registers are displayed. optionally, the values can be averaged by changing ?number of samples to average?. 14. coefficient generator the coefficient generator (on the menu bar) can be used to generate the impedance coefficients. the user may input the desired impedance values using a text file. the output is also provided in a text file. the user may also enter input values on the screen by choosing the ?use screen input with the input method? control. the values specified in the rrc boxes on the screen are then used along with the values listed in table 2 to calculate the coefficients. the format of the rrc inpu ts for both the screen input and the f ile input mode is selected using the rrc format control. 14.1. coefficient generator input file once you have installed the proslic gui, several exampl e input files for the coefficient generator are provided. they are located in the install directory in the folder "f ile examples". the input file templates are also accessible through a shortcut in the start menu. choose start programs silicon laboratories, and click ?input_template?. to use the provided microsoft ? excel file, first make any changes to the in put values, and save the file as a .txt file. the resulting text file may be used as an input to the coefficient generator. the input files created by the user must be of the same format as the provided example input file. there are three ways to input the 2-wire and balance impedance: ? rrc model ? s domain ? spectrum (magnitude and phase) the program chooses whichever comes first in the input file . all of these options are demonstrated in the example input file. to select an input file, clic k on the yellow folder icon to the right of the input file te xt box. the windows ? file open dialog appears. alternatively, the full path of the file may be typed into the text box. selection of the output file is performed in a similar manner. to view the input or output file selected, push t he ?view/edit file? button next to the appropriate text box. the status indicator at th e top left of the screen sh ows "ready" until ?calculate coefficients? is clicked. it shows "working?" while the program is running the calculations. when the calculations are complete, it shows "ready" again, and the resulting output files are displayed in windows ? notepad. the results are also displayed in the output graphs to the right of the screen. the scale of these graphs can be changed by selecting the text on the axes and changing the minimum and maximum values. click on the tabs at the top to view the various graphs. to reload these graphs from a previously-created output file, select the file in the output file text box, and click ?rel oad output graphs from output file?. the input graph on the bottom left shows the values of the desired tx and rx magnitude spectrums. table 2. values used with screen input input value cline 10 nf cac 100 nf tx_gain 0 db rx_gain 0 db tx_spec see example input file rx_spec see example input file
AN265 16 rev. 0.2 14.2. coefficient generator input file format any lines beginning with the "#" character are treated as comments and are ignored. the lines beginning with "$" are flags for the program. for example, the 2-wir e impedance in the rrc format is as follows: $z_rrc start flag #2-wire impedance (rrc model) comment 600.000000 values 0.000000 0.000000 $ end flag table 3 describes the various input values. table 3. input values input file flag order of values in file range description b_rrc r ( ) r ( ) c (nf) 3 values balance impedance (rrc model) z_rrc r ( ) r ( ) c (nf) 3 values 2-wire impedance (rrc model) b_spec frequency (hz) magnitude (db) phase (rad) any number of points from 0 to 4 khz balance impedance (spectral) z_spec frequency (hz) magnitude (db) phase (rad) any number of points from 0 to 4 khz 2-wire impedance (spectral) b_s the first value, b_s(1), is the coeffi- cient associated with the s 9 term in the numerator polynomial, b_s(10) is the constant term. b_s(11?20) are likewise for the denominator 20 values balanced impedance (s-domain ? 10th-order numerator and 10th- order denominator z_s the first value, z_s(1), is the coeffi- cient associated with the s 9 term in the numerator polynomial, z_s(10) is the constant term. z_s(11?20) are likewise for the denominator 20 values 2-wire impedance (s-domain ? 10th-order numerator and 10th- order denominator tx_spec frequency (hz) magnitude (db) (0.2?3.4 khz) 321 points spaced 10 hz desired tx magnitude spectrum rx_spec frequency (hz) magnitude (db) (0.2?3.4 khz) 321 points spaced 10 hz desired rx magnitude spectrum tx_gain magnitude (db) 1 value desired tx gain rx_gain magnitude (db) 1 value desired rx gain cline c (nf) 1 value external line capacitor value
AN265 rev. 0.2 17 14.3. coefficient ge nerator output file the generated output file contains the resulting return losses, tx spectrum, rx spectrum, and coefficients. the corresponding inputs are at the end of the file. the program also generates a file that is compatible with the file input capability of the proslic gui (see figure 14). the coefficients are listed first in hexadecimal format. next in the file is the 2-wire return loss (labeled "rl") specified by 321 points from 200 to 3400 hz. the 4-wire return loss ("bal") is listed next in the same format. then, the re sulting rx and tx spectrums are listed. the points are specified as frequency (hz), magnitude (db), and phase (rad). 14.4. example coefficient generator input file #example input file for si324x coefficient generator #application picks input format that comes first in file #out of # 1: b_rrc and z_rrc # 2: b_spec and z_spec # 3: b_s and z_s #this example uses the rrc model format of input $b_rrc #balance impedance (rrc model) 600.000000 0.000000 0.000000 $ $z_rrc #2-wire impedance (rrc model) 600.000000 0.000000 0.000000 $ $cline #nf 10.00 $ #external line capacitor value $cac #nf 100.0 $ cac c (nf) 1 value external ac coupling capacitor value rprot r ( ) external protection resistor value table 3. input values (continued) input file flag order of values in file range description
AN265 18 rev. 0.2 #external ac coupling capacitor value $rprot 0.000000 $ #external protection resistor value $tx_spec #freq mag #desired tx magnitude spectrum (0.2-3.4khz) 321 points spaced 10hz #end points are specified here (the rest are interpolated) 200 0.000000 3400 0.000000 $ $rx_spec #freq mag #desired rx magnitude spectrum (0.2-3.4khz) 321 points spaced 10hz #end points are specified here (the rest are interpolated) 200 0.000000 3400 0.000000 $ $tx_gain #tx gain 0.0 $ $rx_gain #rx gain 0.0 $ 14.5. dsl splitter applications contact silicon labs for coeffici ents to use in dsl applications.
AN265 rev. 0.2 19 n otes :
AN265 20 rev. 0.2 c ontact i nformation silicon laboratories inc. 400 west cesar chavez austin, tx 78701 tel: 1+(512) 416-8500 fax: 1+(512) 416-9669 toll free: 1+(877) 444-3032 email: proslicinfo@silabs.com internet: www.silabs.com silicon laboratories, silicon labs, and prosli c are trademarks of silicon laboratories inc. other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders. the information in this document is believed to be accurate in all respects at the time of publ ication but is subject to change without notice. silicon laboratories assumes no responsibility for errors and om issions, and disclaims responsibi lity for any consequences resu lting from the use of information included herein. ad ditionally, silicon laboratorie s assumes no responsibility for the functioning of und escribed features or parameters. silicon laboratories reserves the right to make changes without further notice . silicon laboratories makes no wa rranty, rep- resentation or guarantee regarding the suitability of its products for any particular purpose, nor does silicon laboratories as sume any liability arising out of the application or use of any product or circuit, and s pecifically disclaims any and all liability, including wi thout limitation conse- quential or incidental damages. silicon laborat ories products are not designed, intended, or authorized for use in applications intended to support or sustain life, or for any other application in which the failure of t he silicon laboratories product could create a s ituation where per- sonal injury or death may occur. should buyer purchase or us e silicon laboratories products for any such unintended or unauthor ized ap- plication, buyer shall indemnify and hold silicon laboratories harmles s against all claims and damages.


▲Up To Search▲   

 
Price & Availability of AN265

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X